import axios from 'axios'
import { config } from 'api/config'

// 获取真实歌曲地址
export function PostMusic(mid) {
  let params = new URLSearchParams()
  params.append('id', mid)
  return axios.post(config.url + '/music', params).then((res) => {
    return Promise.resolve(res.data)
  })
}